<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="../stylesheet/layout.css" />
</head>
<body>
	<jsp:include page="../common/header.jsp"></jsp:include>
	<jsp:include page="../common/navigator.jsp"></jsp:include>
	<div id="main">
	<s:property value="notice"/>
	<s:property value="#session.lastAction"/>
	<s:property value="#session.toAction"/>

	<form id="register" action='<s:url action="register"/>' method="post" onSubmit="window.onbeforeunload = null;">
		<table>
			<tr>
				<td>username</td>
				<td><input type="text" name="username" /></td>
			</tr>
			<tr>
				<td>password</td>
				<td><input type="password" name="password" /></td>
			</tr>
			<tr>
				<td>passwordConfirm</td>
				<td><input type="password" name="passwordConfirm" /></td>
			</tr>
			<tr>
				<td>email</td>
				<td><input type="text" name="email" /></td>
			</tr>
			<tr>
				<td colspan="2"><input type="submit" value="register" /></td>
			</tr>
		</table>
	</form>
	</div>
</body>
</html>